﻿using System.ComponentModel;
using NGridDrawer.Partitions;

namespace NGridDrawer.Components
{
    /// <LastUpdate author="Blaise Braye" Date="15/06/2008 20:25"/>
    /// <summary>
    /// IDrawerComponent objects are useful to encapsulate an <see cref="IPartitionDrawer"/> object and
    /// to provide an easy way to manage it at design time
    /// </summary>
    public interface IDrawerComponent : IComponent, INotifyPropertyChanged
    {
        /// <summary>Get Drawer property</summary>
        [Browsable(false)]
        IPartitionDrawer Drawer { get; }

        /// <summary>Get/Set Component Property</summary>
        IDrawerComponent Component { get; set; }
    }
}